<!DOCTYPE html>
<html>
<#include "../head.html">
<body>
<table class="mc">
    <tr>
        <td class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </td>
        <td class="mc-m">
            <div class="navToggle"></div>
        </td>
        <td class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="提现银行卡管理">
                    <#include "banner.html">
                        <!--面包屑导航---}-->
						<input type="button" onclick="exportxls()" value="导出报表" class="input-button export-btn"/>
                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                        
                            <div class="toolbor-module search">
                                <input type="text" name="username" id="username" value="请输入用户名" class="search-value">
                                <!-- v1.6.7.1 RDPROJECT-402 zza 2013-11-22 start -->
								<input type="text" name="realname" id="realname" value="请输入真实姓名" data-value="请输入真实姓名" class="search-value">
								<!-- v1.6.7.1 RDPROJECT-402 zza 2013-11-22 end -->
                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>ID</td>
                                        <td>用户名</td>
                                        <td>真实姓名</td>
                                        <td>开户银行</td>
                                        <td>开户行名称</td>
                                        <td>银行账号</td>
                                        <!-- v1.7.7.2 RDPROJECT-470 wcw 2013-11-28 start -->
                                         <td>省</td>
                                          <td>市</td>
                                           <td>区</td>
                                            <!-- v1.7.7.2 RDPROJECT-470 wcw 2013-11-28 end -->
                                        <td>修改者</td>
                                        <td>修改时间</td>
                                        <td>修改</td>  
                                    </tr>
                                    <#list list as item>
                                        <tr class="s">
                                            <td>${(item.user_id!0)?c}</td>
                                            <td>${item.username!"-"}</td>
                                            <td>${item.realname!"-"}</td>
                                            <td>${item.bankname!"-"}</td>
                                            <td>${item.branch!"-"}</td>
                                            <td>${item.bankaccount!"-"}</td>
                                             <!-- v1.7.7.2 RDPROJECT-470 wcw 2013-11-28 start -->
                                             <td>${item.province_name!"-"}</td>
                                              <td>${item.city_name!"-"}</td>
                                               <td>${item.area_name!"-"}</td>
                                                   <!-- v1.7.7.2 RDPROJECT-470 wcw 2013-11-28 end -->
                                            <td>${item.modify_username!"-"}</td>
                                            <td>${dateformat(item.addtime!)}</td>
                                            <td><a href="javascript:;" onclick=" getRefString('cashbank.html?actionType=show&user_id=${item.user_id?c}&id=${item.bank_id?c}')">修改</a></td>
                                        </tr>
                                    </#list>
                                </table>
                            </form>
<script type="text/javascript">
function getRefString(url){          
    var ref=window.location.href;
	if(url.indexOf("?")>0){
		url=url+"&ref="+escape(ref);
	}
	window.location.href=url; 
}
</script>
                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container">
                                    <#import "../../common/page.html" as pager>
                                        <@pager.pagination page=page url="/admin/cash/cashbank.html" map=param style="style1" />
                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>
                                var url = 'cashbank.html?search=true';
                                var xlsurl='cashbank.html?actionType=export'

                                function sousuo(){
                                    var sou = "";
                                    var username = $("#username").val();
                                    if (username!=""&&username!="请输入用户名"){
                                        sou += "&username="+username;
                                    }
                               		// v1.6.7.1 RDPROJECT-402 zza 2013-11-07 start
                                    var realname = $("#realname").val();
                                    if (realname!=""&&realname!="请输入真实姓名"){
                                        sou += "&realname="+realname;
                                    }
                                 	// v1.6.7.1 RDPROJECT-402 zza 2013-11-07 end
                                    if (sou!=""){
                                        location.href=url+sou;
                                    }
                                }
                                function exportxls(){
                                    var sou = "";
                                    var username = $("#username").val();
                                    if (username!=""&&username!="请输入用户名"){
                                        sou += "&username="+username;
                                    }
                                 	// v1.6.7.1 RDPROJECT-402 zza 2013-11-07 start
                                    var realname = $("#realname").val();
                                    if (realname!=""&&realname!="请输入真实姓名"){
                                        sou += "&realname="+realname;
                                    }
                                 	// v1.6.7.1 RDPROJECT-402 zza 2013-11-07 end
                                    if (sou!=""){
                                        location.href=xlsurl+sou;
                                    }else{
                                        location.href=xlsurl;
                                    }
                                }
                            </script>
                        </div>

        </td>
    </tr>
    <tr>
        <!--尾部--{-->
        <td colspan="3" class="mc-b"><#include "../foot.html"></td>
        <!--尾部--}-->
    </tr>
</table>

</body>
</html>
<#include "../jsPage.html">
